<?php

namespace mbilling\BillingBundle\Form;

use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilder;

class UsersForm extends AbstractType
{
    public function buildForm(FormBuilder $builder, array $options)
    {
        $builder->add('login', 'text');
        $builder->add('password', 'password', array('required' => false));
        $builder->add('password_confirm', 'password', array('required' => false));
        $builder->add('status_id', 'choice', array('choices' => array(1 => 'администратор', 2 => 'пользователь')));
    }
}